/*
 * @Descripttion:
 * @version:
 * @Author: kl2018
 * @Date: 2020-08-04 10:53:58
 * @LastEditors: kl2018
 * @LastEditTime: 2020-08-18 15:57:51
 */
import React, { PureComponent } from 'react';
import OdocPortalCommonComp from './common/OdocPortalCommonComp';

export default class OdocPortalOdocLibComp extends PureComponent {
  constructor(props) {
    super(props);
    const { params } = props;
    this.portalCompProps = {
      tabParams: { reqType: params.id },
      searchParams: { officalType: params.id },
      tableParams: { officalType: params.id },
    };
  }

  render() {
    return (
      <OdocPortalCommonComp ecId={`${this && this.props && this.props.ecId || ''}_OdocPortalCommonComp@auxwr7`}
        {...this.portalCompProps}
      />
    );
  }
}

